<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if(!class_exists('PC_controller')){
	class PC_controller extends CI_Controller {

		public function __construct(){
			parent::__construct();
			$this->load->model('Appmodel','m_app');
			$this->load->database();
		}

		public function __destruct() {
			$this->db->close();
		}

		public function index() {
			$data = array();
			$data['ctrlName'] = $this->router->fetch_class();
			return $data;
		}
	}
}

/* End of file pc_controller.php */
/* Location: ./application/controllers/pc_controller.php */